package com.skycong.hello77.complexforms.entity;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Kiki on 2018/6/8.
 */

public class DataComparisonLsit {
    public int id;	//父级Id	number
    public List<DataComparisonItem> items;//		array<object>
    public String title;//	数据项父级名称	string	批发入驻-销售件数
    public DataComparisonLsit(String title){
        this.title = title;
        this.id = 1200;
        items = DataComparisonItem.getDate();

    }

    public static List<DataComparisonLsit> getListData(){
        List<DataComparisonLsit> data = new ArrayList<>();
        for(int i= 0;i<5;i++){
            data.add(new DataComparisonLsit("批发入驻-销售件数"+i));
        }
        return data;
    }

    @Override
    public String toString() {
        return "DataComparisonLsit{" +
                "id=" + id +
                ", items=" + items +
                ", title='" + title + '\'' +
                '}';
    }
}
